package AbstractClass;

public class FighterShip extends Spaceship {

    public FighterShip(int engineNum, int crewCapacity) {
        super(engineNum, crewCapacity);
    }

    public void display() {
        System.out.println("战斗机的引擎数量: " + getEngineNum() + ", 乘员容量: " + getCrewCapacity());
    }
}

